﻿<%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="AddUpdateMenuChild.aspx.cs" Inherits="AddUpdateMenuChild" Title="Menu Cấp II" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">

</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">

    <div id="toolbar_box">
                    <div class="t">
                        <div class="t">
                            <div class="t"></div>
                        </div>
                    </div>
                    
                    <div class="m">
                        <div id="toolbar" class="toolbar">
                            <table class="toolbar">
                                <tr>
                                    <td id="toolbar_delete" class="button">
                                        <%--<a href="#" class="toolbar">
                                            <span class="icon-32-delete"></span>
                                        Xóa</a>--%>
                                        <asp:LinkButton runat="server" ID="lbtSave" onclick="lbtSave_Click" ValidationGroup="MenuParentInfo">
                                            <span class="icon-32-save"></span>
                                            Lưu
                                        </asp:LinkButton>
                                    </td>
                                    <%--<td id="toolbar_update" class="button"><a href="#" class="toolbar"><span class="icon-32-edit"></span>Sửa</a></td>--%>
                                    <td id="toolbar_add" class="button"><a href="MenuChild.aspx" class="toolbar"><span class="icon-32-cancel"></span>Bỏ qua</a></td>
                                    <td id="toolbar_help" class="button"><a href="#" class="toolbar"><span class="icon-32-help"></span>Trợ giúp</a></td>
                                </tr>
                            </table>
                        </div>
                        <div class="header addupdate">
                            Thêm/Sửa Menu Cấp II
                        </div>
                        <div class="clr"></div>
                    </div>
                    
                    <div class="b">
                        <div class="b">
                            <div class="b"></div>
                        </div>
                    </div>
    </div><!--End toolbar_box--------------------------------------------------->
    
    
    <div id="element-box">
                    <div class="t">
                        <div class="t">
                            <div class="t"></div>
                        </div>
                    </div>
                    
                    <div class="m">                        
                        <div class="divAddUpProduct" style="width:900px">
                            <fieldset class="adminlist">
                                <legend>Chi tiết</legend>
                                <table class="admintable" width="100%">
                                    <tbody>                                                                                
                                        <tr>
                                            <td class="key">Tên :</td>
                                            <td>
                                                <asp:TextBox runat="server" ID="txtName" Width="250px"></asp:TextBox>
                                                <asp:RequiredFieldValidator runat="server" ID="vlName" Text="*" ControlToValidate="txtName" ValidationGroup="MenuParentInfo"
                                                Display="Dynamic"></asp:RequiredFieldValidator>
                                            </td>
                                        </tr>
                                             
                                        <tr>
                                            <td class="key">Menu Cấp I</td>
                                            <td>                                                
                                                <asp:DropDownList runat="server" ID="ddlMenuParent"></asp:DropDownList>
                                            </td>
                                        </tr>
                                                                                                                                                                                                                                                                                                                                
                                        <tr>
                                            <td class="key">Url :</td>
                                            <td>                                                
                                                <asp:TextBox runat="server" ID="txtUrl" Width="700px"></asp:TextBox>
                                            </td>
                                        </tr>
                                        
                                        <tr>
                                            <td class="key">Target :</td>
                                            <td>                                                
                                                <asp:DropDownList runat="server" ID="ddlTarget" Width="100px"></asp:DropDownList>
                                            </td>
                                        </tr>
                                        
                                        <tr>
                                            <td class="key">Thứ tự :</td>
                                            <td>                                                
                                                <asp:TextBox runat="server" ID="txtSort"></asp:TextBox>
                                                <asp:RequiredFieldValidator runat="server" ID="vlSort" ControlToValidate="txtSort" Text="*" ValidationGroup="MenuParentInfo" Display="Dynamic"></asp:RequiredFieldValidator>
                                                <asp:RangeValidator runat="server" ID="vlRangeSort" ControlToValidate="txtSort"
                                                    Text="*" ValidationGroup="MenuParentInfo" MaximumValue="9999" MinimumValue="1" Type="Integer" Display="Dynamic"></asp:RangeValidator>
                                            </td>
                                        </tr>
                                        
                                        <tr>
                                            <td class="key">Tình trạng :</td>
                                            <td>                                                
                                                <asp:RadioButtonList runat="server" ID="rdlRecordStatus" RepeatDirection="Horizontal">
                                                </asp:RadioButtonList>
                                            </td>
                                        </tr>
                                        
                                        
                                    </tbody>
                                </table>
                            </fieldset>
                        </div><!--End divAddUpProduct--------------------------------------------------->
                    </div>
                    
                    <div class="b">
                        <div class="b">
                            <div class="b"></div>
                        </div>
                    </div>
    </div><!--End element-box--------------------------------------------------->

</asp:Content>

